<div class="al-modal-view">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">
      <span aria-hidden="true" class="glyphicon glyphicon-remove"></span>
      <span class="sr-only">Close</span>
    </button>
    <h4 class="modal-title ok-color">{{modalTitle}}</h4>
  </div>
  <div class="modal-body">
    <ng-form name="modalForm" class="form-horizontal form-validation" role="form">
      <div class="form-group">
        <label class="col-sm-3 control-label">订单号</label>
        <div class="col-sm-8">
          <div class="form-control info-text">{{data.orderNo}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-3 control-label">状态</label>
        <div class="col-sm-8">
          <nobr>
            <label class="ui-radio" ng-repeat="option in cleaningDealStatusList">
              <input name="status" ng-value="option.value" type="radio" ng-model="data.status">
              <span>{{option.name}}</span>
            </label>
          </nobr>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-3 control-label">服务时间</label>
        <div class="col-sm-8">
          <div class="input-group">
            <input class="form-control" type="text" uib-datepicker-popup="yyyy-MM-dd HH:mm"
                   ng-model="data.serviceTime" is-open="modalEnd" maxlength="16"
                   close-text="关闭" current-text="今天" clear-text="清空"
                   ng-readonly="type=='view'"
                   placeholder=""/>
            <span class="input-group-btn">
                <button type="button" class="btn btn-default" ng-disabled="type=='view'"
                        ng-click="modalEnd=true">
                  <i class="glyphicon glyphicon-calendar"></i>
                </button>
              </span>
          </div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-3 control-label">客服备注</label>
        <div class="col-sm-8">
          <textarea cols="5" ng-model="data.remark" class="form-control"></textarea>
        </div>
      </div>

    </ng-form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-warning no-border" type="button" ng-click="cancel()">取消</button>
    <button class="btn btn-primary no-border" type="button" ng-click="confirm()" ng-disabled="modalForm.$invalid">确定</button>
  </div>
</div>